package com.qfedu.dao;

import com.qfedu.pojo.req.RolePermissionReq;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface RolePermissionMapper {
    //通过角色id删除权限
    void deleteRolePermission(@Param("roleId") Integer roleId);

    //将角色id与权限id进行绑定
    void insertRolePermission(@Param("rolePermissionReq") RolePermissionReq rolePermissionReq);
}
